namespace PersianDateControls
{
    internal sealed class CalendarDesigner : System.Web.UI.Design.ControlDesigner
    {
        public CalendarDesigner()
        {
        }

        public override string GetDesignTimeHtml()
        {
            return string.Format(System.Globalization.CultureInfo.InvariantCulture, "<div style=\"width: {0}px; height: {1}px; BACKGROUND-COLOR: #0099ff;\" />", 
                                                                    (((PersianDateCalendar)Component).CalendarDayWidth * 7), 
                                                                    (((PersianDateCalendar)Component).CalendarDayHeight * 9));
        }
    }
}
